package com.shortlink.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shortlink.admin.dto.req.recyclebin.RecycleBinPageReqDTO;
import com.shortlink.admin.dto.resp.shortlink.ShortLinkVO;

/**
 * 回收站接口
 *
 * @author wp
 */
public interface RecycleBinService {
    /**
     * 分页查询回收站链接
     */
    IPage<ShortLinkVO> page(RecycleBinPageReqDTO recycleBinPage);

    /**
     * 恢复短链接
     */
    void recover(Long id);

    /**
     * 删除短链接
     */
    void delete(Long id);
}
